package com.lx.zy.project.system.domain;

import lombok.Data;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * @program: zy-vue
 * @description:
 * @author: Lx
 * @create: 2019-11-04 23:39
 **/
@Data
public class SysUserRole
{
    /**
     * 用户ID
     */
    private Long userId;

    /**
     * 角色ID
     */
    private Long roleId;

    @Override
    public String toString()
    {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
                .append("userId", userId)
                .append("roleId", roleId)
                .toString();
    }
}
